// 按钮点击事件类型
export const WF_NodeBtnClickType = [
  {
    name: '委托',
    value: 'delegate()'
  },
  {
    name: '挂起',
    value: 'supspendRecord()'
  },
  {
    name: '退回指定环节',
    value: 'specifyBackRecord()'
  },
  {
    name: '终止',
    value: 'terminationRecord()'
  },
  {
    name: '通过',
    value: 'passRecord()'
  },
  {
    name: '退回',
    value: 'backRecord()'
  }
]

export const WF_Object_Params = [
  {
    key: 'userid',
    name: '用户id',
    value: '${user.id}'
  },
  {
    key: 'category',
    name: '环节标识',
    value: '${category}'
  },
  {
    key: 'username',
    name: '用户中文名',
    value: '${user.fullname}'
  },
  {
    key: 'sectionid',
    name: '单位id',
    value: '${dept.sectionid}'
  },
  {
    key: 'sectionname',
    name: '单位名称',
    value: '${dept.sectionname}'
  },
  {
    key: 'deptid',
    name: '部门id',
    value: '${dept.id}'
  }, {
    key: 'deptname',
    name: '部门名称',
    value: '${dept.name}'
  }, {
    key: 'remark',
    name: '处理意见',
    value: '${remark}'
  }, {
    key: 'adid',
    name: '单位区划',
    value: '${dept.adid}'
  }, {
    key: 'taskname',
    name: '环节名称',
    value: '${taskname}'
  }
]
